package com.xszx.service;

import com.xszx.entity.TDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 34129
* @description 针对表【t_dept】的数据库操作Service
* @createDate 2024-01-08 20:40:47
*/
public interface TDeptService extends IService<TDept> {

    List<TDept> selectDepts();

    int addDept(TDept dept);

    int deleteById(Long id);

    int updateDept(TDept dept);

    TDept getDeptByName(String dname);

    TDept getDeptByDid(Long did);
}
